<?php
class Default_IndexController extends Zend_Controller_Action {
	public function init() {
		/* Initialize action controller here */
		$this->modelObject = new Default_Model_DbTable_Object ();
		$this->modelPhotoObject = new Default_Model_DbTable_ObjectPhotoProfile ();
	}
	public function indexAction() {
		// action body
		$a = $this->modelObject->getObjectByPageId ( 1 );
		$this->view->title = $a;

		$home = $this->modelPhotoObject->getObjectPhotoProfileByObjectId ( 19 );
		$this->view->home = $home;
	}
}

